<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1k1vca8" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.12.0">
  <bpmn:process id="ReviewInvoice" name="Review Invoice" isExecutable="true" camunda:historyTimeToLive="45" camunda:isStartableInTasklist="false">
    <bpmn:startEvent id="StartEvent_1">
      <bpmn:outgoing>SequenceFlow_1ggutts</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:sequenceFlow id="SequenceFlow_1ggutts" sourceRef="StartEvent_1" targetRef="assignReviewer" />
    <bpmn:sequenceFlow id="SequenceFlow_144f11w" sourceRef="assignReviewer" targetRef="reviewInvoice" />
    <bpmn:endEvent id="EndEvent_1og1zom">
      <bpmn:incoming>SequenceFlow_0vvoxt0</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="SequenceFlow_0vvoxt0" sourceRef="reviewInvoice" targetRef="EndEvent_1og1zom" />
    <bpmn:userTask id="assignReviewer" name="Assign Reviewer" camunda:formKey="embedded:app:forms/assign-reviewer.html" camunda:assignee="demo">
      <bpmn:incoming>SequenceFlow_1ggutts</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_144f11w</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:userTask id="reviewInvoice" name="Review Invoice" camunda:formKey="embedded:app:forms/review-invoice.html" camunda:assignee="${reviewer}" camunda:dueDate="${dateTime().plusDays(2).toDate()}">
      <bpmn:incoming>SequenceFlow_144f11w</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_0vvoxt0</bpmn:outgoing>
    </bpmn:userTask>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ReviewInvoice">
      <bpmndi:BPMNEdge id="SequenceFlow_0vvoxt0_di" bpmnElement="SequenceFlow_0vvoxt0">
        <di:waypoint x="530" y="97" />
        <di:waypoint x="592" y="97" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_144f11w_di" bpmnElement="SequenceFlow_144f11w">
        <di:waypoint x="370" y="97" />
        <di:waypoint x="430" y="97" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1ggutts_di" bpmnElement="SequenceFlow_1ggutts">
        <di:waypoint x="215" y="97" />
        <di:waypoint x="270" y="97" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="179" y="79" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_1og1zom_di" bpmnElement="EndEvent_1og1zom">
        <dc:Bounds x="592" y="79" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="UserTask_01n44zw_di" bpmnElement="assignReviewer">
        <dc:Bounds x="270" y="57" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="UserTask_055nly4_di" bpmnElement="reviewInvoice">
        <dc:Bounds x="430" y="57" width="100" height="80" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
